package com.camtc.camcenter.dao.repository;

import com.camtc.camcenter.dao.entity.CloudUser;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.repository.query.Param;

/**
 * 云用户JPA
 *
 * @author
 * @date
 */

public interface CloudUserRepository extends JpaRepository<CloudUser, String> {

    /**
     * 查询用户名
     *
     * @param username
     * @return
     */
    CloudUser findCloudUserByUserName(@Param("username") String username);

}
